package containersvc

import (
	"gluenet/internal/agent/cache/object"
	"gluenet/internal/agent/depend"
	"gluenet/internal/agent/driver/dockerdriver"
	v1 "gluenet/pkg/log/v1"

	"github.com/sirupsen/logrus"
)

func init() {
	depend.Provide(NewService)
}

type Service struct {
	logger  v1.Logger
	objects object.Interface
	dd      dockerdriver.DockerDriver
}

func NewService(
	dd dockerdriver.DockerDriver,
	objs object.Interface,
) *Service {
	return &Service{
		logger:  logrus.New(),
		objects: objs,
		dd:      dd,
	}
}
